package com.gears_software.sxdc.dccx.data.sharedPreference;

import com.gears_software.sxdc.dccx.data.model.LineInfoModel;
import com.j256.ormlite.table.DatabaseTable;

import org.androidannotations.annotations.sharedpreferences.DefaultBoolean;
import org.androidannotations.annotations.sharedpreferences.DefaultInt;
import org.androidannotations.annotations.sharedpreferences.DefaultString;
import org.androidannotations.annotations.sharedpreferences.SharedPref;

/**
 * Created by chezhenzhen on 2017/7/22.
 */
@SharedPref(value = SharedPref.Scope.UNIQUE)
public interface DCCXSp {
    @DefaultBoolean(value = true)
    boolean isTimeSort();

    @DefaultBoolean(value = false)
    boolean isPriceSort();

    @DefaultString("")
    String sortTag();

    @DefaultString("")
    String deviceId();

    @DefaultString("")
    String token();

    @DefaultString("")
    String refreshToken();

    @DefaultString("")
    String startPoint();

    @DefaultString("")
    String endPorint();

    @DefaultString("")
    String departtime();

    @DefaultInt(value = 0)
    int direction();

    @DefaultBoolean(true)
    boolean isFirst();

    @DefaultString("")
    String userId();

    @DefaultString("0")
    String orderid();

    @DefaultString("")
    String driverLat();
    @DefaultString("")
    String driverLon();
}
